sharing the state to next level